<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		取
		<script type="text/javascript">
			console.log(window.sessionStorage.getItem("test1"));
			console.log(window.sessionStorage.getItem("age"));
			console.log(window.sessionStorage.getItem("b"));
			let arr = window.sessionStorage.getItem("arr");
			console.log(typeof(json));
			console.log(json);
			for(let item of json){
				console.log(item.type1);
			}
			let json = JSON.parse(arr);
			console.log(typeof(json));
			console.log(json);
			for(let item of json){
				console.log(item.type1);
			}
		</script>
	</body>
</html>
